#pragma once

#include <QColor>
#include <QComboBox>
#include <QPoint>
#include <QWidget>

#include "widgets.h"

class S_WIDGETS_EXPORT SComboBox : public QComboBox {
  Q_OBJECT
 public:
  SComboBox(QWidget* parent = nullptr, QString strColor = "BackNormal",
            QString strBorderColor = "Highlight");
  ~SComboBox();

 protected:
  virtual void showPopup() override;
  virtual void hidePopup() override;

 protected:
  bool m_showPopup = false;
  QString m_styleSheet;
};